/*
 * Created: 2022-09-12 18:58:58
 * Author : 涛涛涛
 */

import React, { FC } from 'react';
import { View, Text } from '@tarojs/components';
import { styled } from 'linaria/react';
import { useClassName } from '@/utils/index';
export interface IProps extends ICompProps {}
CardTitle.defaultProps = {} as Partial<IProps>;
function CardTitle(props: IProps) {
    const { className, style, children } = props;
    const localClassName = useClassName('CardTitle', className);
    return (
        <RootView className={localClassName} style={style}>
            {children}
        </RootView>
    );
}
export default React.memo(CardTitle as FC<IProps>);
const RootView = styled(View)`
    &.CardTitle {
        font-size: 32px;
        color: #666;
    }
`;
